package com.jianzhile.jobs.utils;

import android.os.Environment;

import java.io.File;

/**
 * Created by wutairui on 16/1/14.
 */
public class Const {


    public static final String BASE_URL = "http://172.16.101.178:8080/Jianzhile/";

    // /////////////////////////////////数据库
    // data路径
    public static final String PATH_DATA = Environment
            .getExternalStorageDirectory().toString() + "/CBT/data";
    public static final String SHARE_NAME = "banana";
    public static final String TAKE_PICTURE_PATH = Environment
            .getExternalStorageDirectory().getAbsolutePath()
            + File.separator
            + "jsmcar" + File.separator + "imgs" + File.separator;


    public static final String USER = "user";
    public static final int REQUEST_CODE_11 = 11;
    public static final int CROP_CAMERA_IMAGE_REQUEST_CODE = 26;
    public static final int CROP_GARALY_IMAGE_REQUEST_CODE = 27;


    // 选择相册的请求码
    public static final int CHOOSE_ALBUM_REQUEST_CODE = 1;
    // 被选中的相片path extra
    public static final String SELECTED_PATH_EXTRA = "selected_path_extra";
    // 发表照片 到相册的请求码
    public static final int PUBLISH_ALBUM_REQUEST_CODE = 10;
    // 是否来自发表照片
    public static final String FROM_PUBLISH_EXTRA = "from_publish";
    public static final String TOPIC_ID_EXTRA = "topic_id";
    // 发布时，最大图片数目
    public static final int PHOTO_NUM_SELECT = 1;
    // title extra
    public static final String TITLE_EXTRA = "title_extra";
    // bucketId extra
    public static final String BUCKET_ID_EXTRA = "bucket_Id_extra";
    public static final String POSITION_EXTRA = "position_extra";

    public static final int CAMERA_REQUEST_CODE = 4;

    // 返回成功
    public static final int status_1 = 1;

    public static final String GET_SIMPLES = "simple/GetSimples";
    // 获取验证码
    public static final String UserCode = "Member/GetCode";
    // 用户登录
    public static final String UserRegist = "Member/Register";
    // 用户登录
    public static final String UserLogin = "User/Login";

    //-------------------用户相关 ---------------------//
    public static final String Login = "Member/Login";

    public static final String Register = "Member/Register";

    public static final String GetCode = "Member/GetCode";

    public static final String PostJob ="Simple/PublishJob";

    public static final String PerfectInfo = "/Member/SaveMember";  //  完善个人信息

}

